package com.carlinfo.demo.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.carlinfo.common.util.PageInfoUtil;
import com.carlinfo.demo.pojo.ADynasty;
import com.carlinfo.demo.pojo.AKing;

public interface IDemoService
{
	JSONObject saveOneDynastyService(ADynasty dynasty);
	JSONObject updateOneDynastyService(ADynasty dynasty);
	JSONObject deleteOneDynastyService(Map<String,Object>condMap);
	ADynasty selectOneDynastyService(Map<String,Object>condMap);
	List<ADynasty> selectListDynastyService(PageInfoUtil pageInfoUtil,Map<String,Object>condMap);
	
	JSONObject saveOneKingService(AKing King);
	JSONObject updateOneKingService(AKing King);
	JSONObject deleteOneKingService(Map<String,Object>condMap);
	AKing selectOneKingService(Map<String,Object>condMap);
	List<AKing> selectListKingService(PageInfoUtil pageInfoUtil,Map<String,Object>condMap);
}
